#ifndef XMLUSERS_H
#define XMLUSERS_H

#include <QtXml/QtXml>
#include <QStack>
/*
class UsersHandler : public QXmlDefaultHandler {
public:
    UsersHandler(Users& usrs);
    virtual ~UsersHandler();

    void loadFromFile(const QString& path = "users.xml");

    virtual bool startDocument();
    virtual bool endDocument();
    virtual bool startElement(const QString &namespaceURI, const QString &localName,
                              const QString &qName, const QXmlAttributes &atts);
    virtual bool endElement(const QString &namespaceURI, const QString &localName,
                            const QString &qName);
    virtual bool characters(const QString &ch);

    virtual bool fatalError(const QXmlParseException& exc);

private:
    Users& users;
    QString currentTag;
    QString filePath;

    QStack<QString> tags;

    void saveToFile();
};
*/
/* ************************************************************************************ */
/*
class UsersTags {
public:
    static const QString USERS;
    static const QString USER;
};
*/
#endif // XMLUSERS_H
